import React from "react";
import story from "./story";
const Child = () => {
  const text = story.getState().input;
  return (
    <div>
      <h1>{text}</h1>
    </div>
  );
};

export default Child;
